angular.module('Controller')
.directive('nrLaw',[()->
            return {
            restrict:'E'
            scope : {
                info : '=info'
            }
            replace:true
            templateUrl:'templates/nr-law/nr-law.html'
            controller:'NrLawCtrl'
            }
        ])

.controller 'NrLawCtrl',($scope,$localStorage)->
    console.log "NrLawCtrl"
    _.extend $scope,
        checkJob:(item)->
            item.active = !item.active

